import { path } from "../../config/path";
import request from './request';

/** 隐私协议或服务条款 GET /common/get_agreement */
export async function get_agreement(body: any, options?: any) {
  return request(path + '/common/get_agreement', {
    method: 'GET',
    // headers: {
    //   Authorization: localStorage.loginToken,
    // },
    params: body,
    ...(options || {}),
  });
}
